﻿<%@ page title="" language="C#" masterpagefile="~/Web/FarmMaster.master" autoeventwireup="true" CodeFile="Lean.aspx.cs" inherits="Web_Lean" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="main">
		<div class="left">
			<div class="left1">
				<div id="PARENT">
					<ul	id="navv">
						<li class="first"><a>学历教育</a>
						</li>
                        <li><a href="http://www.open.edu.cn">中央广播电视大学</a></li> 
                        <li><a href="http://online.sdtvu.com.cn/">山东广播电视大学</a></li>   
					</ul>
				</div>
			</div>
			<div class="left2" style="padding-top:13px;">
				<div class="tle">
					<span class="text1">培训通知</span>
				</div>
				<div class="tents">
					<ul style=" padding-top:5px;">
                        <%
                        if (ts.Count() != 0)
                        {
                            foreach (Train aT in ts)
                            {
                                string memo = aT.Name + "将于" + string.Format("{0:yyyy-MM-dd HH:mm}", aT.Started) + "在" + aT.Address + "举办";
                    %>         
                                
						            <li><a href='ViewTrain.aspx?pid=<%=aT.ID %>'><%=memo.Length > 12 ? memo.Substring(0, 11) + "..." : memo%></a></li>
                    <%        }
                        }     
                    %>
						
					</ul>
				</div>
			</div>
			<div class="left2">
				<div class="tle">
					<span class="text1">最新动态</span>
				</div>
				<div class="tents">
					<ul style=" padding-top:5px;">
						<asp:Repeater ID="Repeater3" runat="server">
                            <ItemTemplate>
                                <li><a href='<%=Toolkit.ApplicationRoot %>/Html/<%#Eval("url") %>'><%#Eval("Title").ToString().Length>12?Eval("Title").ToString().Substring(0,11)+"...":Eval("Title") %></a></li>
                            </ItemTemplate>
                        </asp:Repeater>
					</ul>
				</div>
			</div>
		</div>
		<div class="right">
			<div class="headline">
				您的当前位置：首页-->学历教育
			</div>
			<div class="content" style=" border:none;">
                <div class="title">
                    <div class="writing" style=" border:none;">
					    <a href="http://www.open.edu.cn" style="line-height:70px;">点击进入&nbsp;&nbsp;
                            <asp:Image ID="Image1" runat="server" SkinID="Online1" />&nbsp;&nbsp;学习</a>
				    </div>
                    <div class="writing" style=" border:none;">
					    <a href="http://online.sdtvu.com.cn/" style="line-height:70px;">点击进入&nbsp;&nbsp;
                            <asp:Image ID="Image2" runat="server" SkinID="Online2" />&nbsp;&nbsp;学习</a>
				    </div>
			    </div>
           </div>
		</div>
	</div>
</asp:Content>

